package com.tom.enums;

import lombok.Getter;

/**
 * http状态码信息枚举
 * @author zx
 */
@Getter
public enum HttpStatusInfo {

    SUCCESS_200(200,"请求成功"),
    ERROR_500(500,"未知异常，请联系管理员")
    ;

    private int code;
    private String msg;

    private HttpStatusInfo(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
